package com.nys.cqhttp.mapper;

import com.nys.cqhttp.message.pojo.PhbPojo;
import com.nys.cqhttp.model.MessageLog;
import com.nys.cqhttp.model.MessageLogExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MessageLogMapper {
    long countByExample(MessageLogExample example);

    int deleteByExample(MessageLogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MessageLog record);

    int insertSelective(MessageLog record);

    List<MessageLog> selectByExample(MessageLogExample example);

    MessageLog selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MessageLog record, @Param("example") MessageLogExample example);

    int updateByExample(@Param("record") MessageLog record, @Param("example") MessageLogExample example);

    int updateByPrimaryKeySelective(MessageLog record);

    int updateByPrimaryKey(MessageLog record);

    int selectByBZ(@Param("userQq")String userQq,@Param("jqrQq")String jqrQq);

    List<PhbPojo> getPhb();
}